package com.sys.console.mapper;

import java.util.ArrayList;

import com.sys.console.common.base.BaseMapper;
import com.sys.console.pojo.Sys_User;
import com.sys.console.pojo.Sys_UserUpdatePassword;


public interface Sys_UserMapper extends BaseMapper<Sys_User,Integer>{
	int selectByCount(Sys_User record);
	
    Sys_User selectByUserName(String username);
    
    ArrayList<Sys_User> selectByList();
    
    int selectExistsByUsername(Sys_User record);
    
    String selectUserNameByUid(Integer uid);
    
    int updatePassword(Sys_UserUpdatePassword user);
    
    String selectUserPasswordByUserId(Integer uid);
    
    int updateStatus(Sys_User record);
    
    int updateLoginInfo(Sys_User record);
    
    Sys_User selectByAutoLogin(Sys_User record);
    
    int updateResetPassword(Sys_UserUpdatePassword user);
    
}